const apiData = {
    JSESSIONID: '',
    dateList: [],
};

export default (state = apiData, action) => {
    if (action.type === 'setJSESSIONID') {
        apiData.JSESSIONID = action.JSESSIONID
    } else if(action.type === 'getJSESSIONID') {
        return {
            JSESSIONID: state.JSESSIONID,
        }
    }
    return state;
};
